package com.fs.warehouse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fs.common.core.pojo.Variant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hys
 * @since 2024-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wh_detailed")
public class WhDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "detailed_id", type = IdType.AUTO)
    private Integer detailedId;

    private Integer warehousingId;

    private Integer outboundId;

    private Integer variantProductId;

    private String productName;

    private Integer quantity;

    private BigDecimal unitPrice;

    private BigDecimal totalPrice;
    @TableField(exist = false)
    private List<Variant> variantList;

}
